package cn.glutnn.auth.application.convert;

import cn.glutnn.auth.application.dto.AuthPermissionDTO;
import cn.glutnn.auth.application.dto.AuthRolePermissionDTO;
import cn.glutnn.auth.domain.entity.AuthPermissionBO;
import cn.glutnn.auth.domain.entity.AuthRolePermissionBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * Author:   msh
 * Date:     2024/11/28 下午5:09
 * Description:
 */

@Mapper
public interface AuthRolePermissionConverter {
    AuthRolePermissionConverter INSTANCE = Mappers.getMapper(AuthRolePermissionConverter.class);

    AuthRolePermissionBO convertDTOToBO(AuthRolePermissionDTO authRolePermissionDTO);
}
